<? $this->load->view('head'); ?>
<body>
<div class="wrapper">
    <div id="top"></div>
    <? $this->load->view('header'); ?>
    <div class="clear"></div>
    <div id="maincontent">
        <? $this->load->view('top_contents'); ?>
        <div class="bd_content">
            <? $this->load->view('left'); ?>
            <div id="mainpage">
                <div class="nd">
                    <div class="hd">Sản phẩm</div>
                    <div class="bd">
                        <div id="pageBody">
                        </div>
                        <div  id="contentMask" class="products">
                            <div  id="content">
                                <table width="700px" cellspacing="5" cellpadding="3" border="0" id="deptImgs">
                                    <tbody>
                                        <tr>
										<? foreach($list as $rs):?>
                                            <td width="200px;" align="center">
                                            <div class="item"> <a title="<?=$rs->ProductName?>" rel="flowers" class="lightbox" href=""><img width="156" height="136" src="<?=base_url()?>uploads/images/<?=$rs->ProductImg?>"></a>
                                                    <div class="pro_name"><a href=""><?=$rs->ProductName?></a></div>
                                                </div>
                                              </td>
										<? endforeach ?> 
                                        </tr>
                                        
                                        <tr>
                                            <td align="right" style="padding-top:15px; text-align:right;" colspan="3">&lt;&lt;  1 <a href="?/san-pham/&amp;id=&amp;trade=0&amp;page=2">2</a> <a href="?/san-pham/&amp;id=&amp;trade=0&amp;page=3">3</a> &gt;&gt; </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <div class="right"></div>
                    </div>
                </div>
            </div>
        </div>
        <? $this->load->view('bt_contents'); ?>
    </div>
    <div class="clear"></div>
    <div class="clear"></div>
    <? $this->load->view('bottom'); ?>
</div>
<!--end wrapper-->
</body>
</html>